interface five{
    color?:string,
    width?:number
}

function c(c:five):number|void{
    if(c.width) return c.width
    console.log('five')
}

let x = {
    color:'re',
    five:1
}

c(x)